﻿using GalaSoft.MvvmLight.Messaging;
using Mal.Balades.Admin.Messages;

namespace Mal.Balades.Admin
{
    public class NavigationHelper
    {
        public static void EditVisit(object sender, int visitId)
        {
            Messenger.Default.Send<NavigateMessage>(new NavigateMessage(sender, string.Format("Visits/{0}", visitId)));
        }

        public static void NewVisit(object sender)
        {
            Messenger.Default.Send<NavigateMessage>(new NavigateMessage(sender, string.Format("Visits/{0}", 0)));
        }
    }
}
